package com.smxy.mall.dao;

import com.smxy.mall.entity.Category;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface CategoryDao extends JpaRepository<Category,String>,JpaSpecificationExecutor<Category> {
    List<Category> findByShopId(Integer shopId);
}
